package com.example.jetpackpaging.net

import com.example.jetpackpaging.model.RepoResponse
import retrofit2.http.GET
import retrofit2.http.Query

interface Api {

    @GET("search/repositories?sort=stars&q=Android")
    suspend fun getRepos(@Query("page") page: Int,@Query("per_page") perPage: Int): RepoResponse

}